<button type="button" ng-click="$ctrl.addRandomItem()" class="btn btn-sm btn-success">
    <i class="glyphicon glyphicon-plus">
    </i>添加
</button>
<button ng-click="$ctrl.getPeople()">
调用service
</button>
<button ng-click="$ctrl.setPeopleServiceName()">
    about调用setPeopleServiceName
</button>
<button ng-click="$ctrl.setMyFactoryName()">
    about调用setMyFactoryName
</button>
<button ng-click="$ctrl.getAllPeople()">
    getAllPeople
</button>

<p>
    <input type="button" value="设置" ng-click="myCssVar='css-class'">
    <input type="button" value="清除" ng-click="myCssVar=''">
    <br>
    <span ng-class="myCssVar">CSS-动画文本</span>
</p>
<table st-table="rowCollection" class="table table-striped">
    <thead>
    <tr>
        <th>姓</th>
        <th>名</th>
        <th>生日</th>
        <th>分数</th>
        <th>邮箱</th>
        <th>删除</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="row in $ctrl.rowCollection">
        <td>{{row.firstName | uppercase}}</td>
        <td>{{row.lastName}}</td>
        <td>{{row.birthDate}}</td>
        <td>{{row.balance}}</td>
        <td>{{row.email}}</td>
        <td>
            <button type="button" ng-click="$ctrl.removeRow(row)" class="btn btn-sm btn-danger">
                <i class="glyphicon glyphicon-remove-circle">
                </i>
            </button>
        </td>
    </tr>
    </tbody>
</table>